package com.example.demo.service;

import com.example.demo.entity.Permission;

import java.util.List;

public interface PermissionService {
    public List<Permission> findByRoleId(Integer roleId);
    public void saveBatch(List<Permission>permissions);
    public  void savePermission (Permission permission);
    public  void  deleteByRoleId(Integer roleId);

}
